package com.wzxy.util;

import java.util.Calendar;

import org.apache.commons.lang3.time.DateFormatUtils;

public class MyTimeUtils {

	public static String getNowDateString(){
		return DateFormatUtils.format(Calendar.getInstance(),"yyyy-MM-dd");
	}
	
	public static String getHasHourString(){
		return DateFormatUtils.format(Calendar.getInstance(),"yyyy-MM-dd HH:mm:ss");
	}
}
